
#ifndef WISHMASTER_FILTERWIPE_H
#define WISHMASTER_FILTERWIPE_H

#include "filter.h"
#include "misc.h"

namespace Wishmaster
{
	class WISHMASTER_EXPORT FilterWipe : public Filter
	{
	public:
		FilterWipe(const QString& name);
		virtual ~FilterWipe();

		virtual bool check(PostPtr post);
		virtual bool checkText(const QString& text);
		virtual QString id();
		virtual QString serialize();
		virtual bool deserialize(const QString& s);
		virtual QSharedPointer<Filter> clone(const QString& name);

	private:
		bool checkCapitals(const QString& text);
		bool checkLines(const QString& text);
	};
}

#endif

